package cn.isjinhao.se.sql.grammar.statement;

import cn.isjinhao.se.sql.grammar.CurdStatement;
import cn.isjinhao.se.sql.grammar.CurdStatementVisitor;

/**
 * @Author ISJINHAO
 * @Date 2021/8/14 15:34
 */
public class Attachment extends CurdStatement {

    private CurdStatement attachment;

    public Attachment(CurdStatement attachment) {
        this.attachment = attachment;
    }

    public CurdStatement getAttachment() {
        return attachment;
    }

    @Override
    public <R> R accept(CurdStatementVisitor<R> curdStatementVisitor) {
        return curdStatementVisitor.visitAttachment(this);
    }

}
